
/*-----------------------------------------------------------------------------\
|                          ChipCFlow Block2Code V1.0                           |
|                                                                              |
| Desenvolvedor: Felipe Simões Lage Gomes Duarte                               |
| Orientador: Prof. Dr. Jorge Luiz e Silva                                     |
| Supervisor: Bruno de Abreu Silva                                             |
|	      Joelmir José Lopes                                               |
|                                                                              |
| Main Project: ChipCflow                                                      |
| Período: Agosto de 2009 a Julho de 2010                                      |
| Codigo: Sobre.java                                                           |
| Versão da IDE: NetBeans IDE 6.8 (Build 200912041610)                         |
| Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13                          |
| Sistema Operacional: Windows 7 versão 6.1 executando em x86; pt_BR           |
|                                                                              |
|             O presente trabalho foi realizado com apoio do CNPq              |
|   Conselho Nacional de Desenvolvimento Científico  e Tecnológico - Brasil    |
\-----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------\
|                          ChipCFlow Block2Code V2.0                           |
|                                                                              |
| Desenvolvedor: Felipe Simões Lage Gomes Duarte                               |
| Orientador: Prof. Dr. Jorge Luiz e Silva                                     |
|                                                                              |
| Main Project: ChipCflow                                                      |
| Período: Agosto de 2010 a Julho de 2011                                      |
| Codigo: Main.java                                                            |
| Versão da IDE: NetBeans IDE 6.9.1 (Build 201011082200)                       |
| Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b17                          |
| Sistema Operacional: Windows 7 versão 6.1 executando em x86; pt_BR (nb)      |
|                                                                              |
|             O presente trabalho foi realizado com apoio do CNPq              |
|   Conselho Nacional de Desenvolvimento Científico  e Tecnológico - Brasil    |
\-----------------------------------------------------------------------------*/
package view;//Nome do pacote de dados.

import java.awt.Toolkit;
import javax.swing.ImageIcon;

public class Sobre extends javax.swing.JFrame {

  //construtor da classe
  public Sobre() {
    initComponents();
    this.setLocation(((Toolkit.getDefaultToolkit().getScreenSize().width / 2) - (this.getWidth() / 2)),
            ((Toolkit.getDefaultToolkit().getScreenSize().height / 2) - (this.getHeight() / 2)));

    

  }

  @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    PainelSobre = new javax.swing.JPanel();
    javax.swing.JLabel jLabel0 = new javax.swing.JLabel();
    nomes = new javax.swing.JLabel();
    jLabel11 = new javax.swing.JLabel();
    jLabel12 = new javax.swing.JLabel();
    jLabel13 = new javax.swing.JLabel();
    jLabel5 = new javax.swing.JLabel();
    jLabel7 = new javax.swing.JLabel();
    licenca = new javax.swing.JLabel();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle("Sobre");
    setIconImage(new ImageIcon(Block2Code.class.getResource("/imagens/about.png")).getImage());
    setResizable(false);

    PainelSobre.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
    PainelSobre.setName("PainelSobre"); // NOI18N

    jLabel0.setFont(jLabel0.getFont().deriveFont(jLabel0.getFont().getStyle() | java.awt.Font.BOLD, jLabel0.getFont().getSize()+5));
    jLabel0.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel0.setText("ChipCFlow Block2Code V2.0");
    jLabel0.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
    jLabel0.setName("jLabel0"); // NOI18N

    nomes.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    nomes.setText("<html> <div align=\"left\"><strong>Desenvolvedor: </strong> Felipe Simões Lage Gomes Duarte - ICMC / USP<br /> <strong>Orientador: </strong>Dr. Jorge Luiz e Silva - ICMC / USP</div>");
    nomes.setName("nomes"); // NOI18N

    jLabel11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/icmc.gif"))); // NOI18N
    jLabel11.setName("jLabel11"); // NOI18N

    jLabel12.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/cnpq.gif"))); // NOI18N
    jLabel12.setName("jLabel12"); // NOI18N

    jLabel13.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/usp.gif"))); // NOI18N
    jLabel13.setName("jLabel13"); // NOI18N

    jLabel5.setFont(new java.awt.Font("Arial", 0, 10)); // NOI18N
    jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel5.setText("<html><div align=\"center\"> O presente trabalho foi realizado com apoio do<br /><strong>CNPq</strong> - Conselho Nacional de Desenvolvimento Científico e Tecnológico - Brasil</div>");
    jLabel5.setName("jLabel5"); // NOI18N

    javax.swing.GroupLayout PainelSobreLayout = new javax.swing.GroupLayout(PainelSobre);
    PainelSobre.setLayout(PainelSobreLayout);
    PainelSobreLayout.setHorizontalGroup(
      PainelSobreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(PainelSobreLayout.createSequentialGroup()
        .addContainerGap()
        .addComponent(jLabel11)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 76, Short.MAX_VALUE)
        .addComponent(jLabel12)
        .addGap(69, 69, 69)
        .addComponent(jLabel13)
        .addContainerGap())
      .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PainelSobreLayout.createSequentialGroup()
        .addContainerGap(63, Short.MAX_VALUE)
        .addComponent(nomes, javax.swing.GroupLayout.PREFERRED_SIZE, 397, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addGap(104, 104, 104))
      .addComponent(jLabel0, javax.swing.GroupLayout.DEFAULT_SIZE, 564, Short.MAX_VALUE)
      .addGroup(PainelSobreLayout.createSequentialGroup()
        .addContainerGap()
        .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, 544, Short.MAX_VALUE)
        .addContainerGap())
    );
    PainelSobreLayout.setVerticalGroup(
      PainelSobreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(PainelSobreLayout.createSequentialGroup()
        .addComponent(jLabel0)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
        .addComponent(nomes, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addGap(18, 18, 18)
        .addGroup(PainelSobreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
          .addComponent(jLabel11)
          .addGroup(PainelSobreLayout.createSequentialGroup()
            .addGap(29, 29, 29)
            .addGroup(PainelSobreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
              .addComponent(jLabel12)
              .addComponent(jLabel13))))
        .addGap(18, 18, 18)
        .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addGap(50, 50, 50))
    );

    jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/cc.png"))); // NOI18N
    jLabel7.setName("jLabel7"); // NOI18N

    licenca.setText("<html> <div align=\"center\">A obra <strong>ChipCFlow Block2Code</strong> de Felipe S. L. G. Duarte foi licenciada com uma Licença <br />  <strong>Creative Commons - Atribuição  3.0 Não Adaptada</strong>.<br />  Com base na obra disponível em <i>http://www.chipcflow.eti.br</i>.<br />  Podem estar disponíveis permissões adicionais ao âmbito desta licença em <i> http://www.chipcflow.eti.br/</i>.</div>");
    licenca.setName("licenca"); // NOI18N

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addContainerGap()
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
          .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
            .addComponent(PainelSobre, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addContainerGap())
          .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
            .addComponent(jLabel7)
            .addGap(253, 253, 253))
          .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
            .addComponent(licenca, javax.swing.GroupLayout.PREFERRED_SIZE, 543, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addContainerGap())))
    );
    layout.setVerticalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addContainerGap()
        .addComponent(PainelSobre, javax.swing.GroupLayout.PREFERRED_SIZE, 287, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
        .addComponent(jLabel7)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addComponent(licenca, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
        .addContainerGap())
    );

    pack();
  }// </editor-fold>//GEN-END:initComponents

  //Ação do botão fechar
  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JPanel PainelSobre;
  private javax.swing.JLabel jLabel11;
  private javax.swing.JLabel jLabel12;
  private javax.swing.JLabel jLabel13;
  private javax.swing.JLabel jLabel5;
  private javax.swing.JLabel jLabel7;
  private javax.swing.JLabel licenca;
  private javax.swing.JLabel nomes;
  // End of variables declaration//GEN-END:variables

  public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {

      public void run() {
        new Sobre().setVisible(true);
      }
    });
  }
}
